home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / monochrome.swf / scripts / frame_25 / PlaceObject2_517_89 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-26  |  365 b   |  17 lines

  1. onClipEvent(enterFrame){
  2.    if(_name != "bulE")
  3.    {
  4.       _X = _X + xspeed;
  5.       _Y = _Y + yspeed;
  6.       if(_Y < -10 || _Y > 410 || _X < -10 || _X > 560 || _root.rem == true)
  7.       {
  8.          removeMovieClip(this);
  9.       }
  10.       if(_root.ship.hitTest(_X,_Y,true))
  11.       {
  12.          _root.ship.play();
  13.          removeMovieClip(this);
  14.       }
  15.    }
  16. }
  17.